package com.lczyfz.wisdom.common.constant;

public class ConstantEnums {


    /**
     * 每个算子需要配置对应不同的常量或枚举值
     */
    /** 源数据输出路径 */
    public static final String DATA_PROCESS_PARAMETER_DATAOUTPUT = "dataProcess.dataoutput";
    /** 元数据输出路径 */
    public static final String DATA_PROCESS_PARAMETER_METAOUTPUT = "dataProcess.metaoutputpath";
    public static final String PARAMETER_DATA_ID = "dataProcess.dataSourceId";//数据源id
    public static final String PARAMETER_META_ID = "dataProcess.metaId";//元数据id

    public static final String ID_INDEX = "id.index";//主键字段序号
    public static final String COLUMN_TYPE= "column.type";//字段类型
    public static final String COLUMN_NAME = "column.name";//字段名
    /** meta文件中记录的类别。  */
    public static final String CLASS_LABEL_INDEX = "class.label.index";

    /**
     * 数据源及元数据枚举类
     * 获取系统数据库sysConfig表路径的key
     */
    public enum FileTempPath{

        DATA_SOURCE_TEMP_PATH(1, "dataSourceTempPath"),
        META_TEMP_PATH(2, "metaTempPath");

        private Integer value;
        private String name;

        FileTempPath (Integer value, String name){
            this.value = value;
            this.name = name;
        }

        public Integer getValue() {
            return value;
        }


        public String getName() {
            return name;
        }
    }
}
